package com.fuhao.strategy;

//上下文策略
//即对外提供的接口
//客户端自己选择调用什么策略进行业务
public class ContextStrategy {
	
	private Strategy strategy;
	
	public ContextStrategy(Strategy strategy) {
		this.strategy = strategy;
	}
	
	public void getMemberLevle() {
		strategy.memberLevle();
	}

}
